Filter hook 'pre_post_{$field}'

in WP Core File wp-includes/post.php at line 2959

Description

Filters the value of a specific field before saving. The dynamic portion of the hook name, `$field_no_prefix`, refers to the post field name.

Occurrences

Filename Line Number
wp-includes/post.php 2959

Parameters

Type Name Description
mixed $value Value of the post field.

PHP Doc

/**
			 * Filters the value of a specific field before saving.
			 *
			 * The dynamic portion of the hook name, `$field_no_prefix`, refers
			 * to the post field name.
			 *
			 * @since 2.3.0
			 *
			 * @param mixed $value Value of the post field.
			 */